import { PORT1 } from "../config/servicePort";
import Http from "@/api/index";

const baseUrl = PORT1 + "/system/audit";

const accountUrl = baseUrl + "/account";

export const getAccountAuditList = (params: any) => {
  return Http.get(accountUrl + "/list", params);
};

export const auditAccount = (params: any) => {
  return Http.post(accountUrl + "/audit", params);
};

export const getSingleAccountAudit = (params: any) => {
  return Http.get(accountUrl + "/account_single", params);
};
